Run this command to install the SDK:
npm install cloudmersive-convert-api-client --save
Or add this snippet to your package.json:
"dependencies": { "cloudmersive-convert-api-client": "^2.6.3" }
Run this command to install the SDK:
npm install cloudmersive-convert-api-client --save
Or add this snippet to your package.json:
"dependencies": { "cloudmersive-convert-api-client": "^2.6.3" }
var CloudmersiveConvertApiClient = require('cloudmersive-convert-api-client');
var defaultClient = CloudmersiveConvertApiClient.ApiClient.instance;
// Configure API key authorization: Apikey
var Apikey = defaultClient.authentications['Apikey'];
Apikey.apiKey = 'YOUR API KEY';
var apiInstance = new CloudmersiveConvertApiClient.EditDocumentApi();
var reqConfig = new CloudmersiveConvertApiClient.InsertDocxTablesRequest(); // InsertDocxTablesRequest | Document input request
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.editDocumentDocxInsertTable(reqConfig, callback);
Run this command to install the SDK:
pip install cloudmersive-convert-api-client
from __future__ import print_function
import time
import cloudmersive_convert_api_client
from cloudmersive_convert_api_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Apikey
configuration = cloudmersive_convert_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# create an instance of the API class
api_instance = cloudmersive_convert_api_client.EditDocumentApi(cloudmersive_convert_api_client.ApiClient(configuration))
req_config = cloudmersive_convert_api_client.InsertDocxTablesRequest() # InsertDocxTablesRequest | Document input request
try:
# Insert a new table into a Word DOCX document
api_response = api_instance.edit_document_docx_insert_table(req_config)
pprint(api_response)
except ApiException as e:
print("Exception when calling EditDocumentApi->edit_document_docx_insert_table: %s\n" % e)
Run this command to install the SDK:
Install-Package Cloudmersive.APIClient.NET.DocumentAndDataConvert -Version 3.4.2
Run this command to install the SDK:
Install-Package Cloudmersive.APIClient.NETCore.DocumentAndDataConvert -Version 2.2.1
using System;
using System.Diagnostics;
using Cloudmersive.APIClient.NET.DocumentAndDataConvert.Api;
using Cloudmersive.APIClient.NET.DocumentAndDataConvert.Client;
using Cloudmersive.APIClient.NET.DocumentAndDataConvert.Model;
namespace Example
{
public class EditDocumentDocxInsertTableExample
{
public void main()
{
// Configure API key authorization: Apikey
Configuration.Default.AddApiKey("Apikey", "YOUR_API_KEY");
var apiInstance = new EditDocumentApi();
var reqConfig = new InsertDocxTablesRequest(); // InsertDocxTablesRequest | Document input request
try
{
// Insert a new table into a Word DOCX document
InsertDocxTablesResponse result = apiInstance.EditDocumentDocxInsertTable(reqConfig);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling EditDocumentApi.EditDocumentDocxInsertTable: " + e.Message );
}
}
}
}
using System;
using System.Diagnostics;
using Cloudmersive.APIClient.NETCore.DocumentAndDataConvert.Api;
using Cloudmersive.APIClient.NETCore.DocumentAndDataConvert.Client;
using Cloudmersive.APIClient.NETCore.DocumentAndDataConvert.Model;
namespace Example
{
public class EditDocumentDocxInsertTableExample
{
public void main()
{
// Configure API key authorization: Apikey
Configuration.Default.AddApiKey("Apikey", "YOUR_API_KEY");
var apiInstance = new EditDocumentApi();
var reqConfig = new InsertDocxTablesRequest(); // InsertDocxTablesRequest | Document input request
try
{
// Insert a new table into a Word DOCX document
InsertDocxTablesResponse result = apiInstance.EditDocumentDocxInsertTable(reqConfig);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling EditDocumentApi.EditDocumentDocxInsertTable: " + e.Message );
}
}
}
}
To install with Maven, add a reference to the repository in pom.xml:
<repositories> <repository> <id>jitpack.io</id> <url>https://jitpack.io</url> </repository> </repositories>
And add a reference to the dependency in pom.xml:
<dependencies> <dependency> <groupId>com.github.Cloudmersive</groupId> <artifactId>Cloudmersive.APIClient.Java</artifactId> <version>v4.25</version> </dependency> </dependencies>
To install with Gradle, add it in your root build.gradle at the end of repositories:
allprojects { repositories { ... maven { url 'https://jitpack.io' } } }
And add the dependency in build.gradle:
dependencies { implementation 'com.github.Cloudmersive:Cloudmersive.APIClient.Java:v4.25' }
// Import classes:
//import com.cloudmersive.client.invoker.ApiClient;
//import com.cloudmersive.client.invoker.ApiException;
//import com.cloudmersive.client.invoker.Configuration;
//import com.cloudmersive.client.invoker.auth.*;
//import com.cloudmersive.client.EditDocumentApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Apikey
ApiKeyAuth Apikey = (ApiKeyAuth) defaultClient.getAuthentication("Apikey");
Apikey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Apikey.setApiKeyPrefix("Token");
EditDocumentApi apiInstance = new EditDocumentApi();
InsertDocxTablesRequest reqConfig = new InsertDocxTablesRequest(); // InsertDocxTablesRequest | Document input request
try {
InsertDocxTablesResponse result = apiInstance.editDocumentDocxInsertTable(reqConfig);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling EditDocumentApi#editDocumentDocxInsertTable");
e.printStackTrace();
}
Run this command to install the SDK:
composer require cloudmersive/cloudmersive_document_convert_api_client
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Apikey
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Apikey', 'YOUR_API_KEY');
$apiInstance = new Swagger\Client\Api\EditDocumentApi(
new GuzzleHttp\Client(),
$config
);
$req_config = new \Swagger\Client\Model\InsertDocxTablesRequest(); // \Swagger\Client\Model\InsertDocxTablesRequest | Document input request
try {
$result = $apiInstance->editDocumentDocxInsertTable($req_config);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EditDocumentApi->editDocumentDocxInsertTable: ', $e->getMessage(), PHP_EOL;
}
?>
Add the Objective-C client to your Podfile:
pod 'CloudmersiveDocumentAndDataConvertApiClient', '~> 1.0'
CMDefaultConfiguration *apiConfig = [CMDefaultConfiguration sharedConfig];
// Configure API key authorization: (authentication scheme: Apikey)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Apikey"];
CMInsertDocxTablesRequest* reqConfig = [[CMInsertDocxTablesRequest alloc] init]; // Document input request
CMEditDocumentApi*apiInstance = [[CMEditDocumentApi alloc] init];
// Insert a new table into a Word DOCX document
[apiInstance editDocumentDocxInsertTableWithReqConfig:reqConfig
completionHandler: ^(CMInsertDocxTablesResponse* output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error calling CMEditDocumentApi->editDocumentDocxInsertTable: %@", error);
}
}];
Add the Ruby client to your Gemfile:
gem 'cloudmersive-convert-api-client', '~> 2.1.6'
# load the gem
require 'cloudmersive-convert-api-client'
# setup authorization
CloudmersiveConvertApiClient.configure do |config|
# Configure API key authorization: Apikey
config.api_key['Apikey'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['Apikey'] = 'Bearer'
end
api_instance = CloudmersiveConvertApiClient::EditDocumentApi.new
req_config = CloudmersiveConvertApiClient::InsertDocxTablesRequest.new # InsertDocxTablesRequest | Document input request
begin
#Insert a new table into a Word DOCX document
result = api_instance.edit_document_docx_insert_table(req_config)
p result
rescue CloudmersiveConvertApiClient::ApiError => e
puts "Exception when calling EditDocumentApi->edit_document_docx_insert_table: #{e}"
end
SwagEditDocumentApi api = new SwagEditDocumentApi();
SwagClient client = api.getClient();
// Configure API key authorization: Apikey
ApiKeyAuth Apikey = (ApiKeyAuth) client.getAuthentication('Apikey');
Apikey.setApiKey('YOUR API KEY');
Map<String, Object> params = new Map<String, Object>{
'reqConfig' => SwagInsertDocxTablesRequest.getExample()
};
try {
// cross your fingers
SwagInsertDocxTablesResponse result = api.editDocumentDocxInsertTable(params);
System.debug(result);
} catch (Swagger.ApiException e) {
// ...handle your exceptions
}
Install libcurl in your C/C++ project:
libcurl/7.75.0
CURL *curl;
CURLcode res;
curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(curl, CURLOPT_URL, "https://api.cloudmersive.com/convert/edit/docx/insert-table");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
curl_easy_setopt(curl, CURLOPT_DEFAULT_PROTOCOL, "https");
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Content-Type: application/x-www-form-urlencoded");
headers = curl_slist_append(headers, "Apikey: YOUR-API-KEY-HERE");
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
const char *data = "InputFileBytes=%3Cbyte%3E&InputFileUrl=%3Cstring%3E&TableID=Excepteur%20minim&Path=elit%20esse%20deserunt&Width=qui%20dolore%20sunt&WidthType=ea&TableRows=%5B%7B%22RowIndex%22%3A45041527%2C%22Path%22%3A%22nulla%20occaecat%20in%20mollit%22%2C%22RowCells%22%3A%5B%7B%22CellIndex%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Path%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Paragraphs%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingColor%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingFill%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingPattern%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidthMode%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidth%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%7D%2C%7B%22CellIndex%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Path%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Paragraphs%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingColor%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingFill%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingPattern%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidthMode%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidth%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%7D%5D%7D%2C%7B%22RowIndex%22%3A81264672%2C%22Path%22%3A%22Lorem%20dolore%20elit%22%2C%22RowCells%22%3A%5B%7B%22CellIndex%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Path%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Paragraphs%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingColor%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingFill%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingPattern%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidthMode%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidth%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%7D%2C%7B%22CellIndex%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Path%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Paragraphs%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingColor%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingFill%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingPattern%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidthMode%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidth%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%7D%5D%7D%5D&TopBorderType=velit%20ad&TopBorderSize=-54266557&TopBorderSpace=58858169&TopBorderColor=deserunt%20voluptate&BottomBorderType=ea&BottomBorderSize=75623802&BottomBorderSpace=-69636694&BottomBorderColor=nulla%20irure&LeftBorderType=consequat%20in&LeftBorderSize=81206359&LeftBorderSpace=-61522188&LeftBorderColor=do%20ex%20aliquip%20anim%20Lorem&RightBorderType=proident%20cillum%20id%20pariatur%20commodo&RightBorderSize=-20432528&RightBorderSpace=65649623&RightBorderColor=in%20pariatur%20enim%20sint&CellHorizontalBorderType=dolor%20ad%20dolore&CellHorizontalBorderSize=71315501&CellHorizontalBorderSpace=79899360&CellHorizontalBorderColor=do%20qui%20sint&CellVerticalBorderType=amet%20cupidatat%20adipisicing%20Excepteur%20veniam&CellVerticalBorderSize=60393835&CellVerticalBorderSpace=60624093&CellVerticalBorderColor=nostrud&StartBorderType=aliqua%20pariatur%20minim&StartBorderSize=35751031&StartBorderSpace=-94658066&StartBorderColor=anim%20consequat&EndBorderType=anim%20amet&EndBorderSize=45145703&EndBorderSpace=29381669&EndBorderColor=eu%20irure%20consectetur%20ipsum&TableIndentationMode=ea%20in%20labore%20dolore%20commodo&TableIndentationWidth=55563914&InsertPlacement=%3Cstring%3E&InsertPath=%3Cstring%3E";
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, data);
res = curl_easy_perform(curl);
}
curl_easy_cleanup(curl);
curl --location --request POST 'https://api.cloudmersive.com/convert/edit/docx/insert-table' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Apikey: YOUR-API-KEY-HERE' \
--data-urlencode 'InputFileBytes=<byte>' \
--data-urlencode 'InputFileUrl=<string>' \
--data-urlencode 'TableID=laboris occaec' \
--data-urlencode 'Path=dolor' \
--data-urlencode 'Width=minim et est' \
--data-urlencode 'WidthType=sunt fugiat' \
--data-urlencode 'TableRows=[{"RowIndex":-73454707,"Path":"non laborum minim","RowCells":[{"CellIndex":{"value":"<Error: Too many levels of nesting to fake this schema>"},"Path":{"value":"<Error: Too many levels of nesting to fake this schema>"},"Paragraphs":{"value":"<Error: Too many levels of nesting to fake this schema>"},"CellShadingColor":{"value":"<Error: Too many levels of nesting to fake this schema>"},"CellShadingFill":{"value":"<Error: Too many levels of nesting to fake this schema>"},"CellShadingPattern":{"value":"<Error: Too many levels of nesting to fake this schema>"},"CellWidthMode":{"value":"<Error: Too many levels of nesting to fake this schema>"},"CellWidth":{"value":"<Error: Too many levels of nesting to fake this schema>"}},{"CellIndex":{"value":"<Error: Too many levels of nesting to fake this schema>"},"Path":{"value":"<Error: Too many levels of nesting to fake this schema>"},"Paragraphs":{"value":"<Error: Too many levels of nesting to fake this schema>"},"CellShadingColor":{"value":"<Error: Too many levels of nesting to fake this schema>"},"CellShadingFill":{"value":"<Error: Too many levels of nesting to fake this schema>"},"CellShadingPattern":{"value":"<Error: Too many levels of nesting to fake this schema>"},"CellWidthMode":{"value":"<Error: Too many levels of nesting to fake this schema>"},"CellWidth":{"value":"<Error: Too many levels of nesting to fake this schema>"}}]},{"RowIndex":66219160,"Path":"nostru","RowCells":[{"CellIndex":{"value":"<Error: Too many levels of nesting to fake this schema>"},"Path":{"value":"<Error: Too many levels of nesting to fake this schema>"},"Paragraphs":{"value":"<Error: Too many levels of nesting to fake this schema>"},"CellShadingColor":{"value":"<Error: Too many levels of nesting to fake this schema>"},"CellShadingFill":{"value":"<Error: Too many levels of nesting to fake this schema>"},"CellShadingPattern":{"value":"<Error: Too many levels of nesting to fake this schema>"},"CellWidthMode":{"value":"<Error: Too many levels of nesting to fake this schema>"},"CellWidth":{"value":"<Error: Too many levels of nesting to fake this schema>"}},{"CellIndex":{"value":"<Error: Too many levels of nesting to fake this schema>"},"Path":{"value":"<Error: Too many levels of nesting to fake this schema>"},"Paragraphs":{"value":"<Error: Too many levels of nesting to fake this schema>"},"CellShadingColor":{"value":"<Error: Too many levels of nesting to fake this schema>"},"CellShadingFill":{"value":"<Error: Too many levels of nesting to fake this schema>"},"CellShadingPattern":{"value":"<Error: Too many levels of nesting to fake this schema>"},"CellWidthMode":{"value":"<Error: Too many levels of nesting to fake this schema>"},"CellWidth":{"value":"<Error: Too many levels of nesting to fake this schema>"}}]}]' \
--data-urlencode 'TopBorderType=adipisicing ex qui aliqua' \
--data-urlencode 'TopBorderSize=126817' \
--data-urlencode 'TopBorderSpace=-19488873' \
--data-urlencode 'TopBorderColor=tempor quis irure laborum ut' \
--data-urlencode 'BottomBorderType=reprehenderit ipsum voluptate' \
--data-urlencode 'BottomBorderSize=-14070215' \
--data-urlencode 'BottomBorderSpace=61610819' \
--data-urlencode 'BottomBorderColor=dolor enim Lorem' \
--data-urlencode 'LeftBorderType=Lorem mollit' \
--data-urlencode 'LeftBorderSize=-99182635' \
--data-urlencode 'LeftBorderSpace=68461913' \
--data-urlencode 'LeftBorderColor=qui occaecat aute dolore reprehenderit' \
--data-urlencode 'RightBorderType=ipsum magna' \
--data-urlencode 'RightBorderSize=60854484' \
--data-urlencode 'RightBorderSpace=-77815286' \
--data-urlencode 'RightBorderColor=sed dolore esse' \
--data-urlencode 'CellHorizontalBorderType=ex enim deserunt' \
--data-urlencode 'CellHorizontalBorderSize=38766690' \
--data-urlencode 'CellHorizontalBorderSpace=-76383432' \
--data-urlencode 'CellHorizontalBorderColor=aliqua in' \
--data-urlencode 'CellVerticalBorderType=ut pariatur dolore' \
--data-urlencode 'CellVerticalBorderSize=63260941' \
--data-urlencode 'CellVerticalBorderSpace=43540377' \
--data-urlencode 'CellVerticalBorderColor=eu anim dolore nisi' \
--data-urlencode 'StartBorderType=mollit dolore pariatur' \
--data-urlencode 'StartBorderSize=-66349372' \
--data-urlencode 'StartBorderSpace=-43529470' \
--data-urlencode 'StartBorderColor=id do laboris in' \
--data-urlencode 'EndBorderType=pariatur voluptate mollit' \
--data-urlencode 'EndBorderSize=-61226036' \
--data-urlencode 'EndBorderSpace=19882160' \
--data-urlencode 'EndBorderColor=occaecat est anim culpa' \
--data-urlencode 'TableIndentationMode=veniam dolor' \
--data-urlencode 'TableIndentationWidth=-21757308' \
--data-urlencode 'InsertPlacement=<string>' \
--data-urlencode 'InsertPath=<string>'
import Foundation
#if canImport(FoundationNetworking)
import FoundationNetworking
#endif
var semaphore = DispatchSemaphore (value: 0)
let parameters = "InputFileBytes=%3Cbyte%3E&InputFileUrl=%3Cstring%3E&TableID=dolore%20ut&Path=in%20consequat%20irure&Width=officia&WidthType=velit%20cupidatat%20et%20consectetur&TableRows=%5B%7B%22RowIndex%22%3A-46959834%2C%22Path%22%3A%22nulla%20sint%22%2C%22RowCells%22%3A%5B%7B%22CellIndex%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Path%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Paragraphs%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingColor%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingFill%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingPattern%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidthMode%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidth%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%7D%2C%7B%22CellIndex%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Path%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Paragraphs%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingColor%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingFill%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingPattern%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidthMode%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidth%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%7D%5D%7D%2C%7B%22RowIndex%22%3A20512835%2C%22Path%22%3A%22Duis%20an%22%2C%22RowCells%22%3A%5B%7B%22CellIndex%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Path%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Paragraphs%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingColor%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingFill%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingPattern%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidthMode%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidth%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%7D%2C%7B%22CellIndex%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Path%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Paragraphs%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingColor%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingFill%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingPattern%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidthMode%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidth%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%7D%5D%7D%5D&TopBorderType=adipisicing&TopBorderSize=97544679&TopBorderSpace=71323931&TopBorderColor=sed%20labore%20nostrud%20proident&BottomBorderType=eiusmod%20cillum%20culpa%20Lorem%20fugiat&BottomBorderSize=16073585&BottomBorderSpace=-55341749&BottomBorderColor=id&LeftBorderType=id%20sit&LeftBorderSize=-12171993&LeftBorderSpace=-8267510&LeftBorderColor=velit%20pariatur&RightBorderType=cillum%20anim%20in%20nostrud&RightBorderSize=34388467&RightBorderSpace=15695196&RightBorderColor=nulla%20Ut%20commodo&CellHorizontalBorderType=ut%20quis%20eiusmod%20aute&CellHorizontalBorderSize=-76002333&CellHorizontalBorderSpace=-5077249&CellHorizontalBorderColor=cupidatat%20eu%20ut%20adipisicing%20nisi&CellVerticalBorderType=deserunt%20cillum%20Lorem&CellVerticalBorderSize=-29104662&CellVerticalBorderSpace=-77094907&CellVerticalBorderColor=dolor&StartBorderType=quis%20veniam%20laborum&StartBorderSize=97512008&StartBorderSpace=-9434379&StartBorderColor=est%20in%20culpa%20sit&EndBorderType=ullamco%20enim%20sint%20sunt%20amet&EndBorderSize=61644959&EndBorderSpace=72017062&EndBorderColor=proident%20ea%20exercitation%20e&TableIndentationMode=Ut&TableIndentationWidth=48206925&InsertPlacement=%3Cstring%3E&InsertPath=%3Cstring%3E"
let postData = parameters.data(using: .utf8)
var request = URLRequest(url: URL(string: "https://api.cloudmersive.com/convert/edit/docx/insert-table")!,timeoutInterval: Double.infinity)
request.addValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
request.addValue("YOUR-API-KEY-HERE", forHTTPHeaderField: "Apikey")
request.httpMethod = "POST"
request.httpBody = postData
let task = URLSession.shared.dataTask(with: request) { data, response, error in
guard let data = data else {
print(String(describing: error))
semaphore.signal()
return
}
print(String(data: data, encoding: .utf8)!)
semaphore.signal()
}
task.resume()
semaphore.wait()
This code snippet uses the built-in JavaScript XHR request capability
Run this command to install jQuery:
bower install jquery
var data = "InputFileBytes=%3Cbyte%3E&InputFileUrl=%3Cstring%3E&TableID=veniam%20fugiat%20elit%20Lorem&Path=cupidatat&Width=tempor&WidthType=quis%20dolore%20irure&TableRows=%5B%7B%22RowIndex%22%3A-16313257%2C%22Path%22%3A%22eu%20deserunt%20ut%20in%22%2C%22RowCells%22%3A%5B%7B%22CellIndex%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Path%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Paragraphs%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingColor%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingFill%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingPattern%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidthMode%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidth%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%7D%2C%7B%22CellIndex%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Path%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Paragraphs%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingColor%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingFill%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingPattern%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidthMode%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidth%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%7D%5D%7D%2C%7B%22RowIndex%22%3A68299583%2C%22Path%22%3A%22aute%20nostrud%22%2C%22RowCells%22%3A%5B%7B%22CellIndex%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Path%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Paragraphs%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingColor%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingFill%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingPattern%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidthMode%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidth%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%7D%2C%7B%22CellIndex%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Path%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Paragraphs%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingColor%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingFill%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingPattern%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidthMode%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidth%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%7D%5D%7D%5D&TopBorderType=consequat%20aute&TopBorderSize=-21309090&TopBorderSpace=-39683747&TopBorderColor=anim%20occaecat%20consequat%20Ut%20aliqua&BottomBorderType=minim%20irure%20do%20aute%20dolore&BottomBorderSize=-96983599&BottomBorderSpace=-92020892&BottomBorderColor=commodo%20occaecat%20&LeftBorderType=id%20nostrud%20Lorem%20in&LeftBorderSize=60518636&LeftBorderSpace=58094728&LeftBorderColor=ut&RightBorderType=mollit%20tempor%20velit%20magna%20exercitation&RightBorderSize=-57077910&RightBorderSpace=-49039169&RightBorderColor=in%20sed&CellHorizontalBorderType=quis%20irure%20do%20occaecat&CellHorizontalBorderSize=-53955620&CellHorizontalBorderSpace=-42299652&CellHorizontalBorderColor=dolore%20aliquip%20aliqua%20quis%20non&CellVerticalBorderType=in%20consectetur%20Excepteur&CellVerticalBorderSize=82851027&CellVerticalBorderSpace=-46186057&CellVerticalBorderColor=dolor%20qui&StartBorderType=tempor%20elit%20aute&StartBorderSize=85167080&StartBorderSpace=24321703&StartBorderColor=nisi%20in&EndBorderType=in%20occaecat%20eiusmod&EndBorderSize=52600658&EndBorderSpace=-16722562&EndBorderColor=aute%20fugiat%20do%20in&TableIndentationMode=pariatur%20consequat%20dolore%20Lorem&TableIndentationWidth=39213299&InsertPlacement=%3Cstring%3E&InsertPath=%3Cstring%3E";
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("POST", "https://api.cloudmersive.com/convert/edit/docx/insert-table");
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
xhr.setRequestHeader("Apikey", "YOUR-API-KEY-HERE");
xhr.send(data);
var settings = {
"url": "https://api.cloudmersive.com/convert/edit/docx/insert-table",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/x-www-form-urlencoded",
"Apikey": "YOUR-API-KEY-HERE"
},
"data": {
"InputFileBytes": "<byte>",
"InputFileUrl": "<string>",
"TableID": "Ut",
"Path": "id culpa nulla ea",
"Width": "labore enim qui voluptate",
"WidthType": "anim fugiat sunt enim",
"TableRows": "[{\"RowIndex\":15260047,\"Path\":\"exercitation Lorem\",\"RowCells\":[{\"CellIndex\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Path\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Paragraphs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"CellShadingColor\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"CellShadingFill\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"CellShadingPattern\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"CellWidthMode\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"CellWidth\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},{\"CellIndex\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Path\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Paragraphs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"CellShadingColor\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"CellShadingFill\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"CellShadingPattern\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"CellWidthMode\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"CellWidth\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}}]},{\"RowIndex\":18080649,\"Path\":\"ullamco\",\"RowCells\":[{\"CellIndex\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Path\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Paragraphs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"CellShadingColor\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"CellShadingFill\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"CellShadingPattern\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"CellWidthMode\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"CellWidth\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},{\"CellIndex\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Path\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Paragraphs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"CellShadingColor\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"CellShadingFill\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"CellShadingPattern\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"CellWidthMode\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"CellWidth\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}}]}]",
"TopBorderType": "ex dolore qui amet",
"TopBorderSize": "39757608",
"TopBorderSpace": "-2305495",
"TopBorderColor": "sint elit incididunt deserunt enim",
"BottomBorderType": "minim anim",
"BottomBorderSize": "-5077798",
"BottomBorderSpace": "-56230400",
"BottomBorderColor": "est nostr",
"LeftBorderType": "sit fugiat tempor",
"LeftBorderSize": "28466714",
"LeftBorderSpace": "-76718964",
"LeftBorderColor": "eu occaecat ullamco amet",
"RightBorderType": "ipsum sed anim",
"RightBorderSize": "38781261",
"RightBorderSpace": "-90497390",
"RightBorderColor": "est dolore occaecat",
"CellHorizontalBorderType": "ullamco do elit nisi",
"CellHorizontalBorderSize": "-56067076",
"CellHorizontalBorderSpace": "69285781",
"CellHorizontalBorderColor": "ipsum nisi",
"CellVerticalBorderType": "tempor se",
"CellVerticalBorderSize": "-48291224",
"CellVerticalBorderSpace": "31921038",
"CellVerticalBorderColor": "exercitation irure eiusmod",
"StartBorderType": "et labore",
"StartBorderSize": "3713755",
"StartBorderSpace": "-7980175",
"StartBorderColor": "labo",
"EndBorderType": "aliqua eu",
"EndBorderSize": "-95144195",
"EndBorderSpace": "60601090",
"EndBorderColor": "Excepteur aliqua",
"TableIndentationMode": "sint ut",
"TableIndentationWidth": "-55249725",
"InsertPlacement": "<string>",
"InsertPath": "<string>"
}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.cloudmersive.com/convert/edit/docx/insert-table"
method := "POST"
payload := strings.NewReader("InputFileBytes=%3Cbyte%3E&InputFileUrl=%3Cstring%3E&TableID=in%20cillum&Path=labore&Width=velit%20ullamco%20labore%20aute&WidthType=officia%20quis%20tempor&TableRows=%5B%7B%22RowIndex%22%3A30037381%2C%22Path%22%3A%22dolor%20in%20Excepteur%20incididunt%20Lorem%22%2C%22RowCells%22%3A%5B%7B%22CellIndex%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Path%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Paragraphs%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingColor%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingFill%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingPattern%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidthMode%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidth%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%7D%2C%7B%22CellIndex%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Path%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Paragraphs%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingColor%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingFill%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingPattern%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidthMode%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidth%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%7D%5D%7D%2C%7B%22RowIndex%22%3A95762131%2C%22Path%22%3A%22consectetur%22%2C%22RowCells%22%3A%5B%7B%22CellIndex%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Path%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Paragraphs%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingColor%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingFill%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingPattern%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidthMode%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidth%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%7D%2C%7B%22CellIndex%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Path%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22Paragraphs%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingColor%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingFill%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellShadingPattern%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidthMode%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%2C%22CellWidth%22%3A%7B%22value%22%3A%22%3CError%3A%20Too%20many%20levels%20of%20nesting%20to%20fake%20this%20schema%3E%22%7D%7D%5D%7D%5D&TopBorderType=ea%20tempo&TopBorderSize=-6715640&TopBorderSpace=-14952543&TopBorderColor=magna%20consequat%20eiusmo&BottomBorderType=sit%20culpa%20sed&BottomBorderSize=-11026939&BottomBorderSpace=98127664&BottomBorderColor=dolor%20velit&LeftBorderType=est%20laborum&LeftBorderSize=32668126&LeftBorderSpace=5720670&LeftBorderColor=sit%20in&RightBorderType=culpa%20mollit&RightBorderSize=-96112384&RightBorderSpace=-18886903&RightBorderColor=pariatur&CellHorizontalBorderType=adipisicing%20anim%20quis&CellHorizontalBorderSize=6688013&CellHorizontalBorderSpace=-90445158&CellHorizontalBorderColor=labore%20in%20in&CellVerticalBorderType=dolore%20tempor%20aute%20fugiat%20cillum&CellVerticalBorderSize=59966164&CellVerticalBorderSpace=-84714237&CellVerticalBorderColor=nulla%20sit%20mollit%20labore%20ad&StartBorderType=dolore%20in%20id%20sed&StartBorderSize=39930205&StartBorderSpace=85857637&StartBorderColor=&EndBorderType=cillum%20labore%20nostrud&EndBorderSize=70995892&EndBorderSpace=-6519488&EndBorderColor=mollit&TableIndentationMode=qui%20ullamco&TableIndentationWidth=72865322&InsertPlacement=%3Cstring%3E&InsertPath=%3Cstring%3E")
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/x-www-form-urlencoded")
req.Header.Add("Apikey", "YOUR-API-KEY-HERE")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}